/**
 * Created by radoslaw.panczyk on 2014-12-14.
 */
var mongoose = require('mongoose');

var QuizSchema = new mongoose.Schema({
    title: String,
    questions: [{type: mongoose.Schema.Types.ObjectId, ref: 'Question'}]
});

mongoose.model('Quiz', QuizSchema);